package edu.ujf.sharepas.rmi ;

import java.rmi.RemoteException;
import java.util.List;
import java.util.Observer;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;

import edu.ujf.sharepas.impl.Chat;
import edu.ujf.sharepas.impl.Friend;
import edu.ujf.sharepas.impl.LocalUser;
import edu.ujf.sharepas.impl.Message;
import edu.ujf.sharepas.impl.ShareFile;
import edu.ujf.sharepas.impl.User;


public interface Client extends java.rmi.Remote{
	public void message(Message m) throws RemoteException;
	public void disconnect() throws RemoteException;
	public void connect() throws RemoteException;
	public void addChat(Chat c) throws RemoteException;
	public void setUser(LocalUser u) throws RemoteException;
	public LocalUser getUser() throws RemoteException;
	public void send(Message m) throws RemoteException;
	public Serveur getServeur() throws RemoteException;
	public void updateFriends(List<User> list) throws RemoteException;
	public ShareFile getShareFile(String fileName) throws RemoteException;
}
